<template>
    <div>
        <Top></Top> 
        <Header></Header>
        <div style="margin :50px">
            <template>
                <el-carousel :interval="4000" type="card" height="470px">
                    <el-carousel-item v-for="item in 3" :key="item">
                        <h3 class="medium">{{ item }}</h3>
                    </el-carousel-item>
                </el-carousel>
            </template>
        </div>
        <Main></Main>
        <Footer></Footer>

    </div>

</template>

<script>
import Top from "./commons/Top.vue";
import Header from "./commons/Header.vue";
import Footer from "./commons/Footer.vue";
import Main from "./commons/main.vue";

export default{
    data(){
        return{

        }
    },
    components:{
        Top,Header,Footer,Main
    }
   

}


</script>

<style scoped>
.el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 754px;
    margin: 0;
  }

  .el-carousel__item:nth-child(3n+1) {

/* background-color: #99a9bf; */
background-image: url('../assets/images/carousel1.png');

}

.el-carousel__item:nth-child(3n+2) {
    background-image: url('../assets/images/carousel3.png');
/* background-color: #d3dce6; */



} 

.el-carousel__item:nth-child(3n+3) {
/* background-color: #d3dce6; */
background-image: url('../assets/images/carousel2.png');

} 



 

</style>
